package dataS.doubleLinked;

public class DoubleLinkedTest {
    public static void main(String[] args) {
        DoubleLinked linked=new DoubleLinked();
        linked.insertFromHead(11);
        linked.insertFromHead(12);
        linked.insertFromHead(13);
        linked.insertFromHead(14);

        System.out.println(linked.head.val);
        System.out.println(linked.tail.before.val);

        linked.display();
    }
}
